<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.jaxplat.commons.Row" %>
<%@ page import="com.rs.util.Utils" %>
<%
    String contextPath = request.getContextPath();
	Row hosInfo = null;
 	String cityName = "";

 	if(null != request.getAttribute("curr_city_name"))
 	{
 	    cityName = (String)request.getAttribute("curr_city_name");
 	}
	if(null != request.getAttribute("hosInfo"))
	{
	    hosInfo = (Row)request.getAttribute("hosInfo");
	}
	else
	{
	    hosInfo = new com.jaxplat.commons.RowImpl();
	}
	
	List parentCatList = new ArrayList();
	List childCatList =  new ArrayList();
	if(null != request.getAttribute("parentCatList"))
	{
	    parentCatList = (List) request.getAttribute("parentCatList");
	}
	
	if(null != request.getAttribute("childCatList"))
	{
	    childCatList = (List) request.getAttribute("childCatList");
	}
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="预约挂号,预约诊疗,门诊预约,网上医院,网上挂号" name="Keywords">
<meta content="预约挂号平台提供各大三甲医院知名专家的网上预约就医服务。同时提供就医咨询、导医陪诊、专家会诊、住院转院、安排手术等服务" name="description">
<title>网上医院-云南移动无线城市</title>
<link rel="stylesheet" type="text/css" href="<%=contextPath %>/css2/style.css">
<script src="<%=contextPath %>/js/jquery-1.7.2.min.js" type="text/javascript"></script> 
<script type="text/javascript"
	src="<%=contextPath %>/js/common.js"></script>
<script type="text/javascript">
$(document).ready(function(){
     var n=0;
	$(".drawcont").click(function(){
        if(n==0)
        {
        	$('.details').removeClass('h50');
       		$(this).html('收起');
            n=1;
            return;
        }
  		if(n==1)
        {
        	$('.details').addClass('h50');
       		$(this).html('展开');
            n=0;return;
        }
      else{return}
	});
});
</script>

<!--[if IE 6]>
 <style type="text/css">
 .w942m {
	width:942px;
	margin:0 auto;
	margin-top:150px;
}
.main_left .main_box_title {
	background: url("../images/h4bg.png") no-repeat scroll left top transparent;
	height:43px;
	margin-left:-10px;
	position:absolute;
	top:10px;
}
 </style>
<![endif]-->

<!--[if IE 7]>
 <style type="text/css">
 .w942m {
	width:942px;
	margin:0 auto;
	margin-top:150px;
}
.main_left .main_box_title {
	background: url("../images/h4bg.png") no-repeat scroll left top transparent;
	height:43px;
	margin-left:-10px;
	position:absolute;
	top:10px;
}
 </style>
<![endif]-->

</head>
<body>
<%=request.getSession().getAttribute("headerContentWeb") %>
<div class="guahao"> 
  <!--start header-->
  
    <!--×××××××header_3×logo××××××--> 
    <!--××××××header_4×nav×××××××-->
    <%@ include file="head.jsp"%> 

  <!--end header-->
  <div class="clear mb8"></div>
  <!--start main-->
  <div class="main w942m">
    <div class="main_left fl">
      <div class="main_box">
        <div class="box">
          <div class="inbox">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_info">
              <tr>
                <td colspan="3" class="inboxH bte5">
	                <span class="unitname fl"><%=hosInfo.getString("name") %></span>
	                <span class="fl">【</span>
	                	<a class="fl" href="<%=contextPath%>/web2/hosAction.do?method=list">选择其它医院</a><span class="fl">】
	                </span>
                </td>
              </tr>
              <tr>
                <td rowspan="6" width="160"><!--<div class="theme">--> 
                  <div class="img_border">
                     <div class="img_cut">
                  		<img src="<%=hosInfo.getString("path") %>" width="100" height="100"> 
                    </div>
                  </div>
                  <!--</div>--></td>
                <td class="pretitle">医院等级：</td>
                <td><%=hosInfo.getString("rank_name") %> </td>
              </tr>

              <tr>
                <td class="pretitle">联系地址：</td>
                <td><%=hosInfo.getString("address") %></td>
              </tr>
              <tr>
                <td class="pretitle">医院网址：</td>
                <td><a href="<%=hosInfo.getString("home_page") %>" target="_blank"><%=hosInfo.getString("home_page") %></a></td>
              </tr>
              <tr>
                <td class="pretitle" valign="top">交通指南：</td>
                <td>
                	<%=hosInfo.getString("route_desc") %>
                </td>
              </tr>

            </table>
           <div class="details h50">
           		<%=hosInfo.getString("remark") %>
            </div>
            <!--end details-->
            <div class="tr"><a href="javascript:void(0);" class="drawcont">展开</a></div>
            <!--end tr--> 
          </div>
          <!--end inbox--> 
        </div>
        <!--end box--> 
      </div>
      <!--end main_box-->
      <div class="main_box">
        <div class="main_box_title">
          <div class="titleleft fl"></div>
          <div class="left_titlemain fl">
            <h4 class="h4">请选择预约科室</h4>
          </div>
          <div class="titleright fl"></div>
        </div>
        <div class="left_main_box_cont">
           <!--表格代码开始-->
            <table width="100%" cellpadding="0" cellspacing="0" class="dep_list">
              <% 
              	for(int i=0; i < parentCatList.size();i++)
              	{
              	    Row parentCat = (Row)parentCatList.get(i);
              %>
              <tr>
                <td class="pretitle"><%=parentCat.getString("name") %></td>
                <td>
                	<ul class="dlist_dep">
                		<%
                		for(int j=0; j<childCatList.size();j++)
                		{
                		    Row childCat = (Row)childCatList.get(j);
                		    if(parentCat.getLong("id") == childCat.getLong("cat_parent_id"))
                		    {
                		%>
	                    <li title="<%=childCat.getString("name") %>">
	                    	<a href="<%=contextPath%>/web2/secAction.do?method=viewsec&secid=<%=childCat.getString("id")%>"><%=childCat.getString("name") %></a> 
	                    	<span></span><span class="spno"></span><span></span>
	                    </li>
	                    <%
                		    }
                		}
	                    %>
                  	</ul>
                </td>
              </tr>
              <%
              	 }
              %>

          </table>
          <!--表格代码结束-->
        </div>
        <!--end left_main_box_cont-->
        <div class="left_box_bottom mb8"></div>
      </div>
      <!--end main_box--> 
    </div>
    <!--end main_left-->
    <%@ include file="right_2.jsp"%> 
    <!--end main_right--> 
  </div>
  
  <!--end main_left--> 
  
</div>
<!--end main-->
<div class="clear"></div>

<%=request.getSession().getAttribute("footerContentWeb") %>
</body>
</html>